package org.micro.alibaba.consumer.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author keven
 * @date 2025-07-03 11:03 上午
 * @Description
 */
@FeignClient(name = "provider")
public interface OrderFeignClient {

    @PostMapping("/order/createOrder")
    void createOrder(@RequestParam("userId")Integer userId,
                     @RequestParam("itemId")Integer itemId,
                     @RequestParam("num")Integer num);

}
